#pragma once
#include "UIEvent.h"

class MouseEvent : public UIEvent
{
protected:
	int			m_iX;
	int			m_iY;
	bool		m_isDBClick;
	UINT		m_uButton;
public:
					MouseEvent(UIControl* p_pSender, UINT p_uMsg, WPARAM p_wParam, LPARAM p_lParam);
	virtual			~MouseEvent();
	int				getX();
	int				getY();
	bool			isButtonDown(UINT p_uButton);

	bool			isDbClick();
	bool			isLDbClick();
	bool			isRDbClick();
	bool			isCTRLButtonDown();
	bool			isShiftButtonDown();
	bool			isLButtonDown();
	bool			isRButtonDown();
	bool			isMButtonDown();
};
